Visual Basic (Declaration) | |
---|---|
Protected Overloads Overridable Function FindElementUpFrom( _ ByVal elt As FrameworkElement, _ ByVal pred As Predicate(Of FrameworkElement) _ ) As FrameworkElement |
C# | |
---|---|
protected virtual FrameworkElement FindElementUpFrom( FrameworkElement elt, Predicate<FrameworkElement> pred ) |
Parameters
- elt
- a
FrameworkElement
- pred
- When this predicate is true for an element, return that element. When this predicate is false for an element, continue up the visual parent chain. Stop going up the visual parent chain when reaching the Northwoods.GoXam.Part.